<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| MIME TYPES
| -------------------------------------------------------------------
| This file contains an array of mime types.  It is used by the
| Upload class to help identify allowed file types.
|
*/

$mimes = array(	
				'ai'		=>	'application/postscript',
				'aif'		=>	'audio/x-aiff',
				'aiff'		=>	'audio/x-aiff',
				'aifc'		=>	'audio/x-aiff',
				'avi'		=>	'video/x-msvideo',
				'bin'		=>	'application/macbinary',
				'bmp'		=>	'image/bmp',
				'class'		=>	'application/octet-stream',
				'cpt'		=>	'application/mac-compactpro',
				'csv'		=>	array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel'),
				'css'		=>	'text/css',
				'dcr'		=>	'application/x-director',
				'dir'		=>	'application/x-director',
				'dll'		=>	'application/octet-stream',
				'dms'		=>	'application/octet-stream',
				'doc'		=>	'application/msword',
				'dvi'		=>	'application/x-dvi',
				'dxr'		=>	'application/x-director',
				'eml'		=>	'message/rfc822',
				'eps'		=>	'application/postscript',
				'exe'		=>	'application/octet-stream',
				'gif'		=>	'image/gif',
				'gtar'		=>	'application/x-gtar',
				'gz'		=>	'application/x-gzip',
				'hqx'		=>	'application/mac-binhex40',
				'html'		=>	'text/html',
				'htm'		=>	'text/html',
				'jpe'		=>	array('image/jpeg', 'image/pjpeg'),
				'jpeg'		=>	array('image/jpeg', 'image/pjpeg'),
				'jpg'		=>	array('image/jpeg', 'image/pjpeg'),
				'js'		=>	'application/x-javascript',
				'lha'		=>	'application/octet-stream',
				'log'		=>	array('text/plain', 'text/x-log'),
				'lzh'		=>	'application/octet-stream',
				'mid'		=>	'audio/midi',
				'midi'		=>	'audio/midi',
				'mif'		=>	'application/vnd.mif',
				'mov'		=>	'video/quicktime',
				'movie'		=>	'video/x-sgi-movie',
				'mp2'		=>	'audio/mpeg',
				'mp3'		=>	array('audio/mpeg', 'audio/mpg'),
				'mpe'		=>	'video/mpeg',
				'mpeg'		=>	'video/mpeg',
				'mpg'		=>	'video/mpeg',
				'mpga'		=>	'audio/mpeg',
				'oda'		=>	'application/oda',
				'pdf'		=>	array('application/pdf', 'application/x-download'),
				'php'		=>	'application/x-httpd-php',
				'php3'		=>	'application/x-httpd-php',
				'php4'		=>	'application/x-httpd-php',
				'phps'		=>	'application/x-httpd-php-source',
				'phtml'		=>	'application/x-httpd-php',
				'png'		=>	array('image/png',  'image/x-png'),
				'ppt'		=>	array('application/powerpoint', 'application/vnd.ms-powerpoint'),
				'ps'		=>	'application/postscript',
				'psd'		=>	'application/x-photoshop',
				'ra'		=>	'audio/x-realaudio',
				'ram'		=>	'audio/x-pn-realaudio',
				'rm'		=>	'audio/x-pn-realaudio',
				'rpm'		=>	'audio/x-pn-realaudio-plugin',
				'rtf'		=>	'text/rtf',
				'rtx'		=>	'text/richtext',
				'rv'		=>	'video/vnd.rn-realvideo',
				'sea'		=>	'application/octet-stream',
				'shtml'		=>	'text/html',
				'sit'		=>	'application/x-stuffit',
				'smi'		=>	'application/smil',
				'smil'		=>	'application/smil',
				'so'		=>	'application/octet-stream',
				'swf'		=>	'application/x-shockwave-flash',
				'tar'		=>	'application/x-tar',
				'text'		=>	'text/plain',
				'tif'		=>	'image/tiff',
				'tiff'		=>	'image/tiff',
				'tgz'		=>	'application/x-tar',
				'txt'		=>	'text/plain',
				'qt'		=>	'video/quicktime',
				'wav'		=>	'audio/x-wav',
				'wbxml'		=>	'application/wbxml',
				'wmlc'		=>	'application/wmlc',
				'word'		=>	array('application/msword', 'application/octet-stream'),
				'xht'		=>	'application/xhtml+xml',
				'xhtml'		=>	'application/xhtml+xml',
				'xl'		=>	'application/excel',
				'xls'		=>	array('application/excel', 'application/vnd.ms-excel'),
				'xml'		=>	'text/xml',
				'xsl'		=>	'text/xml',
				'zip'		=>  array('application/x-zip', 'application/zip', 'application/x-zip-compressed')
			);



/* End of file mimes.php */
/* Location: ./system/application/config/mimes.php */